package com.partvoyage.client.mvp2.view.infoGeneral;

import java.util.Date;

import com.smartgwt.client.widgets.calendar.Calendar;
import com.smartgwt.client.widgets.calendar.CalendarEvent;

public class InformationGeneralCalendrier extends Calendar {

	@Override
	protected String getDayBodyHTML(Date date, CalendarEvent[] events,
			Calendar calendar, int rowNum, int colNum) {
		String returnStr = date.getDate() + "";
		if (events != null && events.length > 0) {
			returnStr += imgHTML("images/airoport.png", 16, 16, "image",
					"style='margin-top:6px'", null);
		}
		return returnStr;
	}

}